#ifndef _MYBAR_H
#define _MYBAR_H
class CMyBar : public CPinDockBar
{
// Construction
public:
	CMyBar();

// Attributes
public:
	CTabCtrl m_tabctrl;
	CImageList m_ImgList;
	CTreeCtrl m_Tree;
	CListBox m_List;
	CEdit m_Edit;
	// Operations
	void AddToDrawBar(CAutoHideBar * pDrawBar);
	void RemoveFromDrawBar(CAutoHideBar * pDrawBar);
public:
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyBar)
	protected:
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CMyBar();

	// Generated message map functions
protected:
	//{{AFX_MSG(CMyBar)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	//}}AFX_MSG
	afx_msg void OnTabSelChange(NMHDR* pNMHDR, LRESULT* pResult);
	DECLARE_MESSAGE_MAP()
};


class CMyBar2 : public CPinDockBar
{
// Construction
public:
	CMyBar2();

// Attributes
public:
	CListBox m_List;
	// Operations
	void AddToDrawBar(CAutoHideBar * pDrawBar);
	void RemoveFromDrawBar(CAutoHideBar * pDrawBar);
public:
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyBar2)
	protected:
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CMyBar2();

	// Generated message map functions
protected:
	//{{AFX_MSG(CMyBar)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#endif //_MYBAR_H